<HTML>
<HEAD><TITLE>vr</TITLE></HEAD>
<BODY><H1>vr</H1>
rendering parameters for virtual reality<BR><BR>
<TABLE border="1">
<TR><TD>Name</TD><TD>Required</TD><TD>Type</TD><TD>Default value</TD><TD>Description</TD>
<TR><TD>scale</TD><TD>No</TD><TD><A title="A 1 by 3 matrix (see description for how to fill it)">1 by 3 matrix</A></TD><TD>[1,1,1]</TD><TD>Scale factor for the hand</TD></TR>
<TR><TD>rotate</TD><TD>No</TD><TD><A title="A 1 by 3 matrix (see description for how to fill it)">1 by 3 matrix</A></TD><TD>[0,0,0]</TD><TD>Rotation to apply to the hand</TD></TR>
<TR><TD>translation</TD><TD>No</TD><TD><A title="A 1 by 3 matrix (see description for how to fill it)">1 by 3 matrix</A></TD><TD>[0,0,0]</TD><TD>Translation to apply to the hand</TD></TR>
<TR><TD>stereomode</TD><TD>No</TD><TD><A title="A single number (i.e. not a matrix)">number</A></TD><TD>0</TD><TD>stereomode (see Psychtoolbox for the values)</TD></TR>
<TR><TD>eyedistance</TD><TD>No</TD><TD><A title="A single number (i.e. not a matrix)">number</A></TD><TD>1</TD><TD>eye distance (when using stereo)</TD></TR>
<TR><TD>cameralocation</TD><TD>No</TD><TD><A title="A 1 by 3 matrix (see description for how to fill it)">1 by 3 matrix</A></TD><TD>[0,2,22]</TD><TD>camera location (x,y,z)</TD></TR>
<TR><TD>center</TD><TD>No</TD><TD><A title="A 1 by 3 matrix (see description for how to fill it)">1 by 3 matrix</A></TD><TD>[5,5,5]</TD><TD>center of scene (x,y,z)</TD></TR>
<TR><TD>up</TD><TD>No</TD><TD><A title="A 1 by 3 matrix (see description for how to fill it)">1 by 3 matrix</A></TD><TD>[0,1,0]</TD><TD>up direction (x,y,z)</TD></TR>
<TR><TD>frustum</TD><TD>No</TD><TD><A title="follow link to see details of the struct" HREF="frustum.html">struct</A></TD><TD>left: -5</BR>right: 5</BR>bottom: -5</BR>top: 5</BR>nearVal: 2</BR>farVal: 500</BR></TD><TD>Viewing transformation</TD></TR>
</TABLE></BODY></HTML>